﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Library
{
    public enum CommandType
    {
        //bat buoc nhan thong diep phai logoff
        //noi dung thong diep co the gan chuoi rong
        UserExit,

        //Gui Mot Thong Diep Dang text
        Message,
        #region tính đập chai
        ChuRoom,
        ToiLuot,
        SanSang,
        PhatBai,
        BocBai,
        Boqua,
        BatDauChoi,
        MoBai,
        Thang,
        Thua,
        #endregion
        //thong diep se duoc gui toi moi client khi co
        //mot client ket noi va dang nhap thanh cong
        //noi dung thong diep gom :IP:port:username
        ClientLogin,

        //thong diep se duoc gui toi moi client khi co mot client ngat ket noi hoac dang xuat thanh cong
        ClientOut,

        //kiem tra da co ket noi nao trung ten va trung dia chi IP:port hay khong. Noi Dung co the rong
        IsNameExists,

        //Thong Diep Yeu Cau Lay Danh Sach Client Da Login
        ClientList,

        //Thong Diep Bat Ky, Khong Co Chuc Nang Cu The 
        FreeCmd,
        HuyLenh,
        DSOnline,
        SendListOnLine,
        WaitingMessage,//hung
        VaoBan
    }
}
